#define _CRT_SECURE_NO_WARNINGS 1
int* twoSum(int* numbers, int numbersLen, int target, int* returnSize) {
    *returnSize = 2;
    static  arr[2] = { 0 };
    for (int i = 0; i < numbersLen; i++) {
        if (numbers[i] > target)
            continue;
        for (int j = i+1; j < numbersLen; j++) {
            if (numbers[i] + numbers[j] == target) {
                arr[0] = i+1;
                arr[1] = j+1;
                return arr;
            }
        }
    }
    *returnSize = 0;
    return NULL;
}
